export default 
class Person{
    private static instance: Person;
    private constructor(public Name: string){}
    public static getInstance(name: string){
        if(!this.instance){
            this.instance = new Person(name); 
        }
        console.log(this);
        return this.instance;
    }
}